/**
 * 
 */
package com.scpii.universal.hibernate.dao.impl;

import java.text.MessageFormat;
import java.util.List;
import java.util.Locale;
import java.util.ResourceBundle;

import org.springframework.stereotype.Repository;

import com.scpii.universal.constant.GenericConstants;
import com.scpii.universal.dto.FeedBackDto;
import com.scpii.universal.hibernate.dao.FeedBackManageDao;


/**
 * 
 * universalWeb
 * @author zhangqiang
 * 2012-7-10下午05:21:35
 */
@Repository
public class FeedBackManagerDaoImpl extends BaseDaoImpl<FeedBackDto, Integer> implements FeedBackManageDao{

	@Override
	public List<FeedBackDto> geFeedBackList(FeedBackDto condition,
			Integer pageNo, Integer pageSize) {
		ResourceBundle bundle = ResourceBundle.getBundle(GenericConstants.GLOBAL_PROPERTIES_PATH, Locale.getDefault());
		String pnsSchema = bundle.getString("pns.schema");
		StringBuffer sql = new StringBuffer();
		sql.append(MessageFormat.format("SELECT f.INT_USER_ID as {feed.} from FEEDBACK_TAB f,{0}.USERS u on f.INT_USER_ID=u.ID", pnsSchema));
		
		return null;
	}

	

}
